package jpg1980.gttunes.beans;

import java.util.List;

public class Account
{
	private String username;
	private String password;
	private List<Role> roles;

	public Account()
	{
		super();
		this.username = "empty";
		this.password = "empty";
		this.roles.add(new Role());
	}
	
	public Account(String id, String password, List<Role> roles)
	{
		super();
		this.username = id;
		this.password = password;
		this.roles = roles;
	}

	public String getPassword()
	{
		return password;
	}

	public void setPassword(String password)
	{
		this.password = password;
	}

	public String getUsername()
	{
		return username;
	}

	public void setUsername(String username)
	{
		this.username = username;
	}

	public List<Role> getRoles()
	{
		return roles;
	}

	public void setRoles(List<Role> roles)
	{
		this.roles = roles;
	}

}
